#pragma warning(disable : 4996)
#include "Timer.h"
#include "StringHelper.h"

#include <atlbase.h>
#include <atlconv.h>


Timer::Timer()
{
}

wstring Timer::GetNowTime()
{
	time_t t = time(0);
	char time_str[64] = { 0 };
	strftime(time_str, sizeof(time_str), "%Y/%m/%d  %H:%M", localtime(&t));
	wstring now_time = StringHelper::SetMultiByteToWideChar(time_str, strlen(time_str));
	return now_time;
}

Timer::~Timer()
{
}
